package com.xyd.model.process;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xyd.model.base.BaseEnitity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@TableName("oa_process")
@Data
public class Process extends BaseEnitity {
    @TableField("process_code")
    @Schema(description = "审批code")
    private String processCode;

    @TableField("user_id")
    @Schema(description = "用户id")
    private Long userId;

    @TableField("process_template_id")
    @Schema(description = "审批模板id")
    private Long processTemplateId;

    @TableField("process_type_id")
    @Schema(description = "审批类型id")
    private Long processTypeId;

    @TableField("title")
    @Schema(description = "标题")
    private String title;

    @TableField("description")
    @Schema(description = "描述")
    private String description;
    private String formValues;

    @TableField("process_instance_id")
    @Schema(description = "流程实例id")
    private String processInstanceId;

    @TableField("current_auditor")
    @Schema(description = "当前审批人")
    private String currentAuditor;

    @TableField("status")
    @Schema(description = "状态(0:默认 1:审批中 2:审批通过 -1:驳回)")
    private Integer status;
}
